/**
 * @(#) MedicalMoneyLimitDateVO.as
 *
 * @date		2011. 03. 19.
 * @version		1.0
 * @author		Park, Juneho
 * @description	경조사  Value Object
 *
 */
package com.skt.common_hr.resupport.model.vo
{
	import com.skt.common_hr.common.utilSilver.textSilver;
	import com.wcl.utils.DateUtil;
	
	import mx.formatters.PhoneFormatter;

	[Bindable]
	public class ResupportMoneyLimitDateVO
	{

		public var RETCODE:String;		//
		public var RETTEXT:String;		//
		public var O_BETRG:Number;		// 잔여금액

		public var O_BETRG_Q:Number;		// 신청금액
		public var O_BETRG_Y:Number;		// 연간지원금액
//		public var O_BETRG_Y:Number;		// 연간 지원금액
//		public var O_BETRG_YR:Number;		// 연간 잔여금액
//		public var O_ENDDA:Date;		// 전월분 입력마감일
//		public var O_BEGDA:Date;		// 연간 잔여금액
		
		//20120504
		public var O_IDATE:Date;		// 신청일

		public function getPid(pid:String):String
		{
			var pidNum:PhoneFormatter = new PhoneFormatter;
			pidNum.formatString = "######-#######";
			return pidNum.format(pid);
		}

		public function set O_ENDDA_F(s:String):void {

		}
//		public function get O_ENDDA_F():String {
//			return DateUtil.toDefaultString(O_ENDDA);
//		}
		
		
		public function get O_IDATE_F():String {
			return textSilver.toDotKorString(O_IDATE);
		}		
	}

}